package com.gnote.repair.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gnote.repair.domain.SysMenu;
import com.gnote.repair.mapper.SysMenuMapper;
import com.gnote.repair.service.SysMenuService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Gnote
 * @description 针对表【sys_menu(菜单表)】的数据库操作Service实现
 * @createDate 2025-02-25 14:13:33
 */
@Service
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu>
        implements SysMenuService {

    @Override
    public List<SysMenu> getMenusByUserId(Long id) {
        return this.baseMapper.getMenusByUserId(id);
    }
}




